/**
 * @author		Sergey Suzdalskiy
 * @e-mail:		sergey.suzdalskiy@gmail.com
 */
package ua.kiev.gcore.net.command
{
	public class Command
	{
		public static const STRING:int = 1;
		public static const POST:int = 2;
		public static const BYTEARRAY:int = 3;
		
		public var adress:String;
		public var port:int;
		public var data:Object;
		public var type:int;
		
		public function Command(serverAdress:String, serverPort:int, command:Object, commandType:int = STRING)
		{
			adress = serverAdress;
			port = serverPort;
			data = command;
			type = commandType;
		}
	}
}